package com.scarllet.springbootaop.annotation;

import com.scarllet.springbootaop.enums.OperationType;

import java.lang.annotation.*;

/**
 * @author gxcheng
 * @date 2019/5/15
 * 操作日志注解
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SysLog {
    /**
     * 描述
     *
     * @return {String}
     */
    String value();
    /**
     * 操作类型
     */
    OperationType operationType() default OperationType.UNKNOWN;
}
